Repository navigation
PNE-9755: Remove generative design and design space sampling - #1074
Merged
dleblanc merged 6 commits intoNov 18, 2026
Merged
Conversation
The Citrine Platform has removed both features; their routes now return 410 Gone. The SDK drops the execution resources, result types and waiting support, keeping only the names user scripts touch (GenerativeDesignInput, FingerprintType, StructureExclusion, SampleDesignSpaceInput, project.generative_design_executions and design_space.sample_design_space_executions). Constructing an input or reaching a collection raises FeatureRemovedError with the platform's own message, without a network call. Both features were effectively unused, so this is a minor bump to 5.3.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ve-generative-design-sampling-fixes # Conflicts: # src/citrine/__version__.py
…ames Version 5.3.x let scripts import the execution, result and collection classes of both features. The first removal commit deleted them, so those imports raised ImportError. Every name a released version exported now imports again from its old module. A module __getattr__ supplies each one and emits a DeprecationWarning that names 6.0.0 as the removal version. The warning points at the importing line, so Python shows it in a script by default. Constructing a removed class, or reading a method from it, raises FeatureRemovedError with the platform's message. FingerprintType and StructureExclusion keep their members. citrine._utils.removed_features holds the stand-ins. A test fails once the version reaches 6.0.0, to prompt their deletion. Version 5.4.0, after merging main at 5.3.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 8 tasks
…ve-generative-design-sampling-fixes # Conflicts: # src/citrine/__version__.py
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ove-generative-design-sampling-fixes [PNE-9755] Warn on import of removed generative design and sampling names
kroenlein
approved these changes
Nov 18, 2026
kroenlein
left a comment
Collaborator
There was a problem hiding this comment.
Looks good. Presumably this is being communicated to our MIEs.
dleblanc
marked this pull request as ready for review
November 18, 2026 20:10
dleblanc
deleted the
feature/PNE-9755-remove-generative-design-sampling
branch
November 18, 2026 20:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Citrine Python PR
Description
This PR removes generative design and design space sampling from the SDK, for PNE-9755. platform-backend #6734 removes both features from the platform.
A script that uses either feature fails at its first use. The SDK raises
FeatureRemovedError, and makes no network call first. The input classes, the enumerations, and the two accessors stay so that a script reaches that error, rather than failing on import.FeatureRemovedErroralso subclassesAttributeError, sohasattr()returnsFalsefor the two accessors.Both features were effectively unused, so the version moves to 5.4.0 rather than 6.0.0.
PR Type:
Adherence to team decisions
🤖 Generated with Claude Code